package com.geekgo.lucenepp.core.config;

import com.geekgo.lucenepp.core.config.index.*;

import java.util.function.Supplier;

/**
 * 数据源索引
 *
 * @author HeHaoyang
 * @create 2017-06-14 10:33
 **/
public interface DataSourceIndex {

    static com.geekgo.lucenepp.core.config.index.IndexFactory create(Supplier<com.geekgo.lucenepp.core.config.index.IndexFactory> supplier){
        return supplier.get();
    }
}
